#变量的命名和使用
message = "Hello Python people!"
print(message)
message = "hello Python crash course world!"
print(message.upper())  #全部字符大写
print(message.lower())  #全部字符小写
print(message.title()+ '\n')  #仅仅单词首字母大写

#合并字符串
first_name = "liu"
last_name = "wangzai"
full_name = first_name + " " +last_name
print('\n' + '\n' + full_name.title())
name = "hello, " + full_name.title() + "!"
print(name)
famous_person = 'Albert Einstein'
words = ' "A person who never made a mistake never tried anything new." '
message = famous_person + "once said:" + words
print(message)


#添加和删除空白
print("\nLanguages:\n\tPython\n\tC\n\tJavaScript")
favorite_language = '  Python  '
print(favorite_language)
print(favorite_language.rstrip())#剔除字符串后端空白
print(favorite_language.lstrip())#剔除字符串前端空白
print(favorite_language.strip()) #剔除字符串两端空白

#数字

